import http from '../http_request.js'; //引进requst方法

export const questionadd = (data) => { // 添加培训题目
	return http.postrequest('question/add',data)
}

export const questionedit = (data) => { // 修改培训题目
	return http.postrequest('question/edit',data)
}

export const questiondel = (data) => { // 删除单条培训题目
	return http.postrequest('question/delete',data)
}

export const questionlist = (data) => { // 题目列表
	return http.getrequest('question/getlist',data)
}

export const questiontrain = (data) => { // 判断分数通过提交答题分数(培训答题提交)
	return http.postrequest('question/train',data)
}


